
package de.berlin.fu.inf.nbi.rdflinda.numbers;

import java.security.SecureRandom;

import org.nlogo.api.Syntax;

import primitives.AbstractCustomReporter;

/**
 * @author Daniel Graff Wrapper base class for random number
 */
public abstract strictfp class AbstractRandomNumber
extends AbstractCustomReporter
{
    protected final SecureRandom secureRandom = new SecureRandom();

    /**
     * Returns the syntax for NetLogo. The primitive takes one number as input and returns a number.
     * 
     * @return Returns a list for input and output
     */
    @Override
    public Syntax getSyntax() {
        return Syntax.reporterSyntax(new int[] { Syntax.TYPE_NUMBER }, Syntax.TYPE_NUMBER);
    }
}
